#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include"connectform.h"
#include"hwps_regist_form.h"
#include"autocamform.h"
#include"io.h"
#include"movelineform.h"
#include"movecircleform.h"
#include"gohomeform.h"
#include"mhelicalform.h"
#include"mcontinuityform.h"
#include"packdiyform.h"
#include"warnaxisform.h"
#include"handwheelform.h"
#include"camwheelform.h"
#include"pcbasicintform.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();
private slots:
    void timerOut();
    void on_tabWidget_currentChanged(int index);

private:
    Ui::MainWindow *ui;

    ConnectForm *connectForm;
    HwPs_Regist_Form *hwRegForm;
    AutoCamForm *autoCamForm;
    io *ioForm;
    MoveLineForm *moveLineForm;
    MoveCircleForm *moveCircleForm;
    GoHomeForm *goHomeForm;
    MHelicalForm *mHelicalForm;
    MContinuityForm *mContinuityForm;
    PackDiyForm *packDiyForm;
    WarnAxisForm *warnAxisForm;
    HandWheelForm *handWheelForm;
    CamWheelForm *camWheelForm;
    PCBasicIntForm *pcBasicInt;


protected:
    QTimer *timer;
};
#endif // MAINWINDOW_H
